package com.tangji.signaltower.service.dao.inter;

import com.fqgj.common.base.BaseMapper;
import com.tangji.signaltower.service.dao.entity.MockBinaryTradeEntity;

import java.util.List;

/**
 * User: anonymous
 * Date: 2020-09-17
 * Time: 23:43:29.170
 */

public interface MockBinaryTradeDao extends BaseMapper<MockBinaryTradeEntity> {

    List<MockBinaryTradeEntity> getListByStatus(Integer status);


    //获取最近三分钟的为结算的订单
    List<MockBinaryTradeEntity> getLatestByUserCodesAndStatusAndTime(List<String> userCodes, Integer status);

}